package com.louis.util;

import org.springframework.util.StringUtils;


/**
 * @author Lijun jiang
 * @Date: Jun 7, 2011
 * @Time: 2:20:49 PM
 */

public abstract class ValidatorUtils {

    public static final String INT_PARTTEN = "^\\d+$";

    public static boolean isInteger(String number) {
        return StringUtils.hasText(number) && number.matches(INT_PARTTEN);
    }
}